#ifndef PLANE_H
#define PLANE_H

#include <QPixmap>
#include <QRect>
#include "config.h"
#include "bullet.h"


class plane
{
public:
    plane();

    void shoot();

    void setplanePosition(int x,int y);
public:
    QPixmap plane_pixmap;

    int plane_x;
    int plane_y;

    QRect plane_rect;

    bullet Bullet[BULLET_NUM];

    int bullet_recorder;
};

#endif // PLANE_H
